﻿#ifndef __NEBULAWEAVER_INCLUDE_EXPORT_H__
#define __NEBULAWEAVER_INCLUDE_EXPORT_H__

#if !defined(NEBULAWEAVER_EXPORT)

#if defined(NEBULAWEAVER_SHARED_LIBRARY)
#if defined(_WIN32) || defined(WIN32)

#if defined(NEBULAWEAVER_COMPILE_LIBRARY)
#define NEBULAWEAVER_EXPORT __declspec(dllexport)
#else
#define NEBULAWEAVER_EXPORT __declspec(dllimport)
//#define NEBULAWEAVER_EXPORT
#endif  // defined(NEBULAWEAVER_COMPILE_LIBRARY)

#else  // defined(_WIN32)
#if defined(NEBULAWEAVER_COMPILE_LIBRARY)
#define NEBULAWEAVER_EXPORT __attribute__((visibility("default")))
#else
#define NEBULAWEAVER_EXPORT
#endif
#endif  // defined(_WIN32)

#else  // defined(NEBULAWEAVER_SHARED_LIBRARY)
#define NEBULAWEAVER_EXPORT
#endif

#endif  // !defined(NEBULAWEAVER_EXPORT)

#endif  // __NEBULAWEAVER_H__
